getTextHeight

Calculate the text height for given text properties.

getTextHeight(textProperties: IFontStyle): number

Arguments

textProperties: IFontStyle

  • The text properties for which to calculate the height.

Returns

number

  • Height of text with matching properties.